require 'rubygems'
require 'gruff'


# abstract super-class for all analysis 
class AbstractAnalysis

  private
  
  # return a Gruff Line chart  
  def _create_graph (title, label_x, label_y)
    g = Gruff::Line.new
    g.dot_radius = 2
    g.line_width = 2
    g.x_axis_label = label_x
    g.y_axis_label = label_y
    g.title = title
    g
  end

end